/* 与admin系统一致的风格 */
.admin-container {
    display: flex;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.admin-sidebar {
    width: 250px;
    min-height: 100vh;
    background-color: #212529;
    color: white;
    position: fixed;
    transition: all 0.3s;
    z-index: 1000;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-sidebar li {
    padding: 10px 20px;
}

.admin-sidebar li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 4px;
    margin: 5px 10px;
}

.admin-sidebar li.active a,
.admin-sidebar li a:hover {
    color: white;
    background-color: #0d6efd;
}

.admin-content {
    margin-left: 250px;
    flex: 1;
    padding: 20px;
    transition: all 0.3s;
}

.admin-header {
    background-color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}

/* 搜索栏样式 - 管理员 */
.admin-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-search input {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.admin-search input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.admin-search button {
    padding: 0.5rem 1rem;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.15s ease-in-out;
}

.admin-search button:hover {
    background-color: #0b5ed7;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .admin-search {
        width: 100%;
    }

    .admin-search input {
        flex: 1;
    }
}